﻿<UserControl
  x:Class="River.Folderize.UI.AboutPanel"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
  xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
  mc:Ignorable="d" 
  d:DesignHeight="300" d:DesignWidth="300"
  Background="{DynamicResource {x:Static SystemColors.WindowBrushKey}}">

  <UserControl.Resources>
    <ResourceDictionary>
      <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="/Folderize;component/Themes/Generic.xaml" />
      </ResourceDictionary.MergedDictionaries>
    </ResourceDictionary>
  </UserControl.Resources>

  <Grid Margin="10">
    <DockPanel>
      <StackPanel Orientation="Horizontal" DockPanel.Dock="Top" HorizontalAlignment="Center" Margin="0,20,0,0">
        <Image Source="{DynamicResource Logo}" Width="64" Height="64">
          <Image.Effect>
            <DropShadowEffect Opacity="0.4" ShadowDepth="5" BlurRadius="7"/>
          </Image.Effect>
        </Image>
        <Label Content="Folderize" FontFamily="Tahoma" FontSize="28"
               DockPanel.Dock="Top" VerticalAlignment="Center"
               Background="Transparent" Foreground="#FFEC8825" FontWeight="Bold">
          <Label.Effect>
            <DropShadowEffect Opacity="0.35" ShadowDepth="5" BlurRadius="7"/>
          </Label.Effect>
        </Label>

      </StackPanel>
      <TextBlock DockPanel.Dock="Top" Margin="0,40,0,0" TextAlignment="Center">
        <Run Text="Version "/><Run x:Name="versionText">1.0</Run><LineBreak/>
        <Run Text=" Last build: "/><Run x:Name="dateText">10 Nov 2014</Run>
      </TextBlock>
      <TextBlock Margin="0,20,0,0" DockPanel.Dock="Top" TextAlignment="Center">
        <Hyperlink
    	    RequestNavigate="NavigateToURL" Foreground="CornflowerBlue"
    	    NavigateUri="http://folderize.codeplex.com">
          <Run Text="http://folderize.codeplex.com"/>
        </Hyperlink>
      </TextBlock>
      <TextBlock Margin="0,8,0,0" DockPanel.Dock="Top" TextAlignment="Center">
        <Hyperlink
    	    RequestNavigate="NavigateToURL" Foreground="CornflowerBlue"
    	    NavigateUri="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&amp;business=6UC9PK9LA92F8&amp;lc=US&amp;item_name=Support%20iTuner&amp;currency_code=USD&amp;bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted">
          <Run Text="Donate"/>
        </Hyperlink>
      </TextBlock>
      <TextBlock DockPanel.Dock="Bottom" TextAlignment="Center" 
                 VerticalAlignment="Bottom" Foreground="DarkGray">
        <Run Text="Copyright © "/><Run x:Name="copyText">2014</Run><Run Text=" Steven M. Cohn"/><LineBreak/>
        <Run>All rights reserved</Run>
      </TextBlock>
    </DockPanel>
  </Grid>
</UserControl>
